package indi.zhifa.study2024.class002.busy.generalTest.business.report.consign.entity.request;

import indi.zhifa.study2024.class002.busy.generalTest.business.report.consign.entity.mapperIn.ConsignMapperIn;
import lombok.Data;

import java.util.Arrays;

@Data
public class ConsignGroupByCustomerReportRequest extends BaseConsignReportRequest{

    @Override
    protected ConsignMapperIn onConsignMapperInInit(ConsignMapperIn pConsignMapperIn) {
        pConsignMapperIn.setSelectCustomerInfo(true);
        pConsignMapperIn.setJoinItem(false);
        pConsignMapperIn.setGroup(true);
        pConsignMapperIn.setGroups(Arrays.asList("ch.customer_id"));
        return pConsignMapperIn;
    }
}
